const parentCode = "upComingCenter";
export default [
  {
    path: "/upComingCenter",
    meta: {
      title: "待办中心",
      code: parentCode,
    },
    component: (resolve) => require(["@/views/upComingCenter"], resolve),
    children: [
      {
        path: "/",
        redirect: "upComing",
      },
      {
        path: "upComing",
        name: "upComing",
        meta: {
          title: "待办",
          parentCode: parentCode,
          code: "upComing",
        },
        component: (resolve) =>
          require(["@/views/upComingCenter/upComing"], resolve),
      },
      {
        path: "complete",
        name: "complete",
        meta: {
          title: "已办",
          parentCode: parentCode,
          code: "complete",
        },
        component: (resolve) =>
          require(["@/views/upComingCenter/complete"], resolve),
      }
    ],
  },
];
